from tkinter import *
k = int(input())
x = int(input())

coords = [ x, 0, x + k, 0, x + k, k, x + k * 2, k, x + k * 2, k * 2, x, k * 2] 

root = Tk()
root.title("Марафон по програмированию")
root. geometry("500x500")

canvas = Canvas(bg = "white", width = 500, height = 500)
canvas.pack(anchor = CENTER, expand = 1)

canvas.create_polygon(coords)

root.mainloop()

